<template>
  <el-tabs class="set" type="border-card">
    <el-tab-pane label="系统数据字典">
      <dictionary-item menuType="sys"></dictionary-item>
    </el-tab-pane>
    <el-tab-pane label="档案数据字典">
      <dictionary-item menuType="archives"></dictionary-item>
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import DictionaryItem from '../settingComponents/dictionary/dictionaryItem'
export default {
  name: 'DataDictionary',
  components: { DictionaryItem },
  // 菜单设置
  data () {
    return {
      isActive: '系统数据字典'
    }
  },
  mounted () {
    // this.isActive = this.$route.query.type === 'archives' ? '档案数据字典' : '系统数据字典'
  }
}
</script>

<style lang="scss" scoped>
  .set{
    margin: 0 -10px;
    ::v-deep .el-tabs__content{
      height: calc(100vh - 125px);
    }
  }
</style>
